<?php

/*

  $step = isset($_GET['step']) ? intval($_GET['step']) : 1;

  switch ($step) {
  case 3:
  $title = $ilang['INSTALL_STEP3_TITLE'];
  include 'header.php';
  install();
  break;
  case 2:
  $title = $ilang['INSTALL_STEP2_TITLE'];
  include 'header.php';
  settings();
  break;
  default:
  $title = $ilang['INSTALL_STEP1_TITLE'];
  include 'header.php';
  requirements();
  }
  include 'footer.php';
 */

include '../_defs.php';
include 'base/functions.php';

if (isset($_POST['installlang'])) {
    include 'languages/' . $_POST['installlang'] . '.php';
} else {
    include 'languages/en_US.php';
}

$ws = isset($_GET['ws']) ? intval($_GET['ws']) : 1;
switch ($ws) {
    case 1:
        $step = '1-requirements.php';
        requirements();
        break;
}

include 'html/container.php';